package org.example.com.cn.Model;

import org.springframework.stereotype.Component;

@Component
public class Student {
    private int id;
    private String snum;
    private String sname;
    private String ssex;
    private float Sscore;
    public int getId() {
        return id;
    }
    public void setId(int id) {
        this.id = id;
    }
    public String getSnum() {
        return snum;
    }

    public void setSnum(String snum) {
        this.snum = snum;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    public String getSsex() {
        return ssex;
    }

    public void setSsex(String ssex) {
        this.ssex = ssex;
    }

    public float getSscore() {
        return Sscore;
    }

    public void setSscore(float sscore) {
        this.Sscore = sscore;
    }
    @Override
    public String toString() {
        return "Student{" +
                "id=" + id +
                ", snum='" + snum + '\'' +
                ", sname='" + sname + '\'' +
                ", ssex='" + ssex + '\'' +
                ", score=" + Sscore +
                '}';
    }
}
